package com.leinao.images.dto;

import java.io.Serializable;

/**
 * @description: 镜像信息
 * @author: 曹阳
 * @date: 2019-05-15 16:53
 */
public class ImageInfo implements Serializable {

    private static final long serialVersionUID = 3088114029610618244L;

    /**
     * ID
     */
    private Long id;

    /**
     * 编号
     */
    private String number;

    /**
     * 镜像名称
     */
    private String name;

    /**
     * 类型: 1-默认提供，2-推荐提供，3-自定义
     */
    private Integer type;

    /**
     * 路径,会拼接domain
     */
    private String path;

    /**
     * 提供者
     */
    private String provider;

    /**
     * 创建时间
     */
    private Long createTime;

    /**
     * 更新时间
     */
    private Long updateTime;

    /**
     * 用户Id
     */
    private String userId;

    /**
     * 镜像简介
     */
    private String content;

    /**
     * 镜像mk简介
     */
    private String contentMk;

    /**
     * 镜像大小
     */
    private String size;

    /**
     * 镜像使用次数
     */
    private Integer useCount;

    /**
     * 类型: 1-创建中，2-创建完成，3-创建失败
     */
    private Integer status;

    /**
     * 算法
     */
    private String language;

    /**
     * 框架
     */
    private String framework;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getProvider() {
        return provider;
    }

    public void setProvider(String provider) {
        this.provider = provider;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContentMk() {
        return contentMk;
    }

    public void setContentMk(String contentMk) {
        this.contentMk = contentMk;
    }

    public Integer getUseCount() {
        return useCount;
    }

    public void setUseCount(Integer useCount) {
        this.useCount = useCount;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public String getFramework() {
        return framework;
    }

    public void setFramework(String framework) {
        this.framework = framework;
    }
    @Override
    public String toString() {
        return "ImagesDto [id=" + id + ", number=" + number + ", name=" + name + ", type=" + type + ", path=" + path + ", provider="
                + provider + ", createTime=" + createTime + ", updateTime=" + updateTime + ", userId=" + userId + ", content=" + content +
                ", content_mk=" + contentMk + ", userCount=" + useCount + ", size=" + size + ", status=" + status + ", language=" + language + ", framework=" + framework + "]";
    }
}
